package com.basics.channel.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.basics.framework.web.domain.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 频道权限表
 * </p>
 *
 * @author WangWei
 * @since 2025-03-09
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("cy_channel_permission")
@ApiModel(value="CyChannelPermission对象", description="频道权限表")
public class CyChannelPermission extends BaseEntity {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "频道权限ID")
    private String id;

    @ApiModelProperty(value = "频道ID")
    private Long channelId;

    @ApiModelProperty(value = "分组ids,多个逗号隔开(all代表全部人员,空表示都没有权限,默认创建人有权限)")
    private String groupIds;

    @ApiModelProperty(value = "是否需要实名")
    private Boolean needAuth;


}
